﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Persistance.ViewModel
{
    /// <summary>
    /// Fournit une liste de 12 éléments qui corresponds aux projets travaillé durant le mois de l'année.
    /// </summary>
    public class CalendarYear
    {
        public List<CalendarYearProjects> CalendarYearProjectSet { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class CalendarYearProjects
    {
        public List<ProjectCalendarModel> ProjectSet { get; set; }
    }


    /// <summary>
    /// Liste des projets du mois choisi
    /// </summary>
    public class CalendarMonth
    {
        public List<CalendarMonthProjects> CalendarMonthProjectSet { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class CalendarMonthProjects
    {
        public List<ProjectCalendarModel> ProjectSet { get; set; }
    }

    /// <summary>
    /// Liste des projet de la semaine choisie
    /// </summary>
    public class CalendarWeek
    {
        public List<ProjectDetailModel> ProjectSet { get; set; }
    }

    

    /// <summary>
    /// Forunit un modèle simplifié de l'entité Project
    /// </summary>
    public class ProjectCalendarModel
    {
        public String Name { get; set; }

        public String Reference { get; set; }

        public String ColorCode { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class ProjectDetailModel
    {
        public String Name { get; set; }
        
        public String Reference { get; set; }
        
        public String ColorCode { get; set; }

        public List<List<CollaborateurModel>> WeekColabList { get; set; }
    }


    /// <summary>
    /// 
    /// </summary>
    public class CollaborateurModel
    {
        public String Name { get; set; }

        public String FirstName { get;set;}

        public ImageInfoViewModel ImageInfo { get; set; }
    }
}
